﻿using UnityEngine;
using System.Collections;
namespace AssetBundleHelper{
	public class LoadConf {
		public static string AssetBundlePath{
			get{
				return Application.persistentDataPath+"/";
			}
		}
		public static string AssetBundleIP = "106.15.180.16";
		static string HttpPath{
			get{
				return "http://"+AssetBundleIP+"/";
			}
		}

		static string LocalPath{
			get{
				return "file://" + Application.dataPath + "/StreamingAssets/";
			}
		}
		public static string ConfPath{
			get{
				#if HTTP
				return HttpPath;
				#else
				return LocalPath;
				#endif
			}
		}

		const string NetPath = "";
		public static string AssetsBundlePath{
			get{
				return string.Format ("{0}Assetbundle/", ConfPath);
			}
		}


	}
}
